using System;
using System.Runtime.Serialization;
using System.Security;

namespace Sample.Common.Transaction
{
    [Serializable]
    public class TransactionScopeWrapperException : Exception
    {
        public TransactionScopeWrapperException()
        {
        }

        public TransactionScopeWrapperException(string message)
            : base(message)
        {
        }

        [SecuritySafeCritical]
        protected TransactionScopeWrapperException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }

        public TransactionScopeWrapperException(string message, Exception innerException)
            : base(message, innerException)
        {
        }
    }
}